﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Ribbon;
using System.Windows.Input;
using AIPASoft.Interfaces.Base;
using AIPASoft.Interfaces.BusinessDomain;
using AIPASoftApplicationManager; 

namespace AIPASoft.ViewModel
{
    public class MainWindowViewModel :ViewModelBase
    {

        private readonly IApplicationManager _applicationMgr;

        public MainWindowViewModel(Ribbon ribbonControl, ContentControl contentHolder)
        {
            _applicationMgr = new ApplicationManager() { RibbonControl = ribbonControl, ContentHolder = contentHolder };
            _applicationMgr.Start();
            _applicationMgr.LoadDomainsEvent += ApplicationMgr_LoadDomainsEvent;
        }

        void ApplicationMgr_LoadDomainsEvent()
        {
             
        } 

    }
}
